Release 10.1A: OpenEdge Development:
Messaging and ESB


waitForMessages procedure

Waits and processes events as long as the user-defined function is TRUE.

Syntax

PROCEDURE waitForMessages: 
DEFINE INPUT PARAMETER UDFName AS CHARACTER NO-UNDO.  
DEFINE INPUT PARAMETER procH AS HANDLE NO-UNDO.  
DEFINE INPUT PARAMETER timeOut AS INTEGER NO-UNDO.  

Parameters

UDFName

User-defined function.

procH

Handle to user-defined function.

timeOut

Time limit (in seconds) in which no messages are received.

Applies to

Session objects

Notes

See also

createMessageConsumer procedure, deleteConsumer procedure, messageHandler procedure, waitForMessages procedure

For more information see the "Message Consumer objects" section, the "Consuming messages" section, the "Terminating the Message Consumer object" section and the "Creating a message handler process" section.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095